# MPLAB IDE generated this makefile for use with GNU make.
# Project: SpO2.mcp
# Date: Sat Jun 06 10:12:02 2015

AS = pic32-as.exe
CC = pic32-gcc.exe
LD = pic32-ld.exe
AR = pic32-ar.exe
HX = pic32-bin2hex.exe
RM = rm

SpO2.hex : SpO2.elf
	$(HX) "SpO2.elf"

SpO2.elf : ACM_Funcs.o AFE4490.o Comm.o I2C_Funcs.o main.o OLED_Funcs.o Peripherial_init.o RTCC_Funcs.o Save_Power.o SPI_Funcs.o SW.o Timer_Funcs.o UART_Func.o
	$(CC) -mdebugger -mprocessor=32MX150F128B "ACM_Funcs.o" "AFE4490.o" "Comm.o" "I2C_Funcs.o" "main.o" "OLED_Funcs.o" "Peripherial_init.o" "RTCC_Funcs.o" "Save_Power.o" "SPI_Funcs.o" "SW.o" "Timer_Funcs.o" "UART_Func.o" -o"SpO2.elf" -Wl,-L"F:\Program Files\Microchip\MPLAB C32 Suite\lib",-L"F:\Program Files\Microchip\MPLAB C32 Suite\pic32mx\lib",--defsym=__MPLAB_BUILD=1,--defsym=__MPLAB_DEBUG=1,--defsym=__MPLAB_DEBUGGER_PK3=1,--defsym=__ICD2RAM=1,-Map="SpO2.map"

ACM_Funcs.o : ACM_Funcs.c p32mx150f128b.h ppic32mx.h extern_func.h Port_init.h
	$(CC) -mprocessor=32MX150F128B -x c -c "ACM_Funcs.c" -o"ACM_Funcs.o" -MMD -MF"ACM_Funcs.d" -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -g

AFE4490.o : AFE4490.c p32mx150f128b.h ppic32mx.h extern_func.h Port_init.h AFE44x0.h
	$(CC) -mprocessor=32MX150F128B -x c -c "AFE4490.c" -o"AFE4490.o" -MMD -MF"AFE4490.d" -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -g

Comm.o : Comm.c p32mx150f128b.h ppic32mx.h extern_func.h Port_init.h
	$(CC) -mprocessor=32MX150F128B -x c -c "Comm.c" -o"Comm.o" -MMD -MF"Comm.d" -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -g

I2C_Funcs.o : I2C_Funcs.c p32mx150f128b.h ppic32mx.h extern_func.h Port_init.h
	$(CC) -mprocessor=32MX150F128B -x c -c "I2C_Funcs.c" -o"I2C_Funcs.o" -MMD -MF"I2C_Funcs.d" -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -g

main.o : main.c p32mx150f128b.h ppic32mx.h extern_func.h Port_init.h AFE44x0.h
	$(CC) -mprocessor=32MX150F128B -x c -c "main.c" -o"main.o" -MMD -MF"main.d" -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -g

OLED_Funcs.o : OLED_Funcs.c p32mx150f128b.h ppic32mx.h extern_func.h Port_init.h
	$(CC) -mprocessor=32MX150F128B -x c -c "OLED_Funcs.c" -o"OLED_Funcs.o" -MMD -MF"OLED_Funcs.d" -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -g

Peripherial_init.o : Peripherial_init.c p32mx150f128b.h ppic32mx.h extern_func.h Port_init.h
	$(CC) -mprocessor=32MX150F128B -x c -c "Peripherial_init.c" -o"Peripherial_init.o" -MMD -MF"Peripherial_init.d" -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -g

RTCC_Funcs.o : RTCC_Funcs.c p32mx150f128b.h ppic32mx.h extern_func.h Port_init.h
	$(CC) -mprocessor=32MX150F128B -x c -c "RTCC_Funcs.c" -o"RTCC_Funcs.o" -MMD -MF"RTCC_Funcs.d" -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -g

Save_Power.o : Save_Power.c p32mx150f128b.h ppic32mx.h extern_func.h Port_init.h AFE44x0.h
	$(CC) -mprocessor=32MX150F128B -x c -c "Save_Power.c" -o"Save_Power.o" -MMD -MF"Save_Power.d" -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -g

SPI_Funcs.o : SPI_Funcs.c p32mx150f128b.h ppic32mx.h extern_func.h Port_init.h
	$(CC) -mprocessor=32MX150F128B -x c -c "SPI_Funcs.c" -o"SPI_Funcs.o" -MMD -MF"SPI_Funcs.d" -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -g

SW.o : SW.c p32mx150f128b.h ppic32mx.h extern_func.h Port_init.h
	$(CC) -mprocessor=32MX150F128B -x c -c "SW.c" -o"SW.o" -MMD -MF"SW.d" -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -g

Timer_Funcs.o : Timer_Funcs.c p32mx150f128b.h ppic32mx.h extern_func.h Port_init.h
	$(CC) -mprocessor=32MX150F128B -x c -c "Timer_Funcs.c" -o"Timer_Funcs.o" -MMD -MF"Timer_Funcs.d" -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -g

UART_Func.o : UART_Func.c p32mx150f128b.h ppic32mx.h extern_func.h Port_init.h
	$(CC) -mprocessor=32MX150F128B -x c -c "UART_Func.c" -o"UART_Func.o" -MMD -MF"UART_Func.d" -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -g

clean : 
	$(RM) "ACM_Funcs.o" "AFE4490.o" "Comm.o" "I2C_Funcs.o" "main.o" "OLED_Funcs.o" "Peripherial_init.o" "RTCC_Funcs.o" "Save_Power.o" "SPI_Funcs.o" "SW.o" "Timer_Funcs.o" "UART_Func.o" "SpO2.elf" "SpO2.hex"

